<!--
 * @Description: 智能校验
-->
<template>
  <div style="width: 100%; height: 100%">
    <ProcessTitle 
      :icon="'vp-zhinengxiaoyan'"
      :name="this.$i18n('collaboration.prediction.label.title')"
      v-if="showHeader"
      class="title"
    />
    <iframe style="height: 100%; width: 100%" :src="url" />
  </div>
</template>
<script>
  import ProcessTitle from '@/components/process-title';
  import globalData from '@/plugins/data';

  export default {
    name: 'FormNodeRule',
    components: {
      ProcessTitle
    },
    props: {
      showHeader: {
        type: Boolean,
        default: false
      }
    },
    computed: {
      url() {
        return `${globalData.ctxPath}/common/cap4/template/bizconfig/intelligentVerificationDrawer/index.html?formType=1`;
      }
    }
  };
</script>

<style scoped lang="scss">
  .title {
    padding: 0 12px;
  }
</style>
